package com.atguigu.gmall.product.client;

import com.atguigu.gmall.model.product.*;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Component
public class DegradedProductFeignclient implements ProductFeignClient {
    @Override
    public BaseCategoryView getBaseCategoryView(Long category3Id) {
        //写降级处理内容
        return null;
    }

    @Override
    public SkuInfo getSkuInfo(long skuId) {
        return null;
    }

    @Override
    public BigDecimal getPrice(long skuId) {
        return null;
    }

    @Override
    public List<SpuSaleAttr> getSaleAttrAndValueAndChecked(Long spuId, Long skuId) {
        return null;
    }

    @Override
    public Map<Object, Object> getSkuValueIdsMap(Long spuId) {
        return null;
    }

    @Override
    public List<BaseCategoryView> getBaseCategoryViewList() {
        return null;
    }

    @Override
    public BaseTrademark getBaseTrademark(Long tmId) {
        return null;
    }

    @Override
    public List<SkuAttrValue> getSkuAttrValue(Long skuId) {
        return null;
    }
}
